package cn.promonkey.core.request;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author gongym
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ObjectQuery {
    private Object thisId;

    public Integer getIntegerId() {
        return Integer.parseInt(String.valueOf(thisId));
    }

    public Long getLongId() {
        return Long.parseLong(String.valueOf(thisId));
    }

    public String getStringId() {
        return String.valueOf(thisId);
    }
}
